home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 49 / PCPP49a.iso / editors / sofsdk / SoF SDK.msi / _0ADC4AB508D649B9864FEA9D2129563C < prev    next >
Encoding:
Text File  |  2000-03-27  |  783 b   |  24 lines

  1. #include "../common/header.ds"
  2. output "p:/base/ds/tsr1"
  3.  
  4.  
  5.  
  6.  
  7.  
  8. local entity tunnelsabre // the sabre model the player will see running into the alcove
  9. local int sig1
  10.  
  11. // this script triggers the explosion that happens at the end of the tunnel
  12.  
  13.  
  14. tunnelsabre = find entity with targetname "tunnelsabre"
  15.  
  16. // play sound "cin/tsr1/c5d2.adp" for entity tunnelsabre at volume 0.9 on channel CHAN_VOICE
  17. animate entity tunnelsabre performing action STD_R_N_PK_N by moving [-504, 0, 0] signaling sig1 // him running into the little alcove
  18. wait for all clearing sig1
  19. animate entity tunnelsabre performing action STD_R_N_PK_N by moving [0, 176, 0] signaling sig1 // him running out of view
  20. wait for all clearing sig1
  21. remove entity tunnelsabre // gets him out of the world
  22.  
  23.  
  24.